package com.nuoniu.sibanyun.entity.crm;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 提现记录
 * </p>
 *
 * @author baiqiang
 * @since 2020-07-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("withdrawal_record")
@ApiModel(value="WithdrawalRecord对象", description="提现记录")
public class WithdrawalRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "提现用户id")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "提现用户登录账号")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty(value = "提现用户真实姓名")
    @TableField("real_name")
    private String realName;

    @ApiModelProperty(value = "提现金额")
    @TableField("amount")
    private BigDecimal amount;

    @ApiModelProperty(value = "银行名称")
    @TableField("bank_name")
    private String bankName;

    @ApiModelProperty(value = "银行账号")
    @TableField("bank_account")
    private String bankAccount;

    @ApiModelProperty(value = "0:已提现 1:待审核 2:审核中 3:审核驳回 4:待打款 5:待到账")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_date")
    private LocalDateTime updateDate;


}
